package com.eat.fish_service.mapper;

import com.eat.fish_service.entity.DTO.StateCount;
import com.eat.fish_service.entity.DTO.TypeCount;
import com.eat.fish_service.entity.Dao.Fish;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LWB
 * @since 2022-03-21
 */
@Mapper
public interface FishMapper extends BaseMapper<Fish> {
    public List<TypeCount> selectTypeCount(@Param("pid") Long pid);

    public List<StateCount> selectStateCount(@Param("pid") Long pid);
}
